package net.xdclass.service;

import org.springframework.web.multipart.MultipartFile;

/**
 * @author 小二
 */
public interface FileService {

    String uploadUserImg(MultipartFile file);

    /**
     * 获取临时访问的URL
     * @param bucketName
     * @param ossFileName
     * @return
     */
    String getGeneratePresidedUrl(String bucketName, String ossFileName);

}
